package net.opslog.web.client.views;

import net.opslog.web.client.models.LogEntry;

import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.view.client.AsyncDataProvider;

public interface MainView extends IsWidget {
	void setPresenter(Presenter presenter);

	void setLogFormat(String logFormat);

	void setLogDataProvider(AsyncDataProvider<LogEntry> logDataProvider);

	void setUserInfo(String userInfo);
	
	public interface Presenter {
		void goTo(Place place);
	}

}